package com.liam.friend.service.exam;

import com.liam.common.core.domain.TableDataInfo;
import com.liam.friend.domain.exam.dto.ExamQueryDTO;
import com.liam.friend.domain.exam.dto.ExamRankDTO;
import com.liam.friend.domain.exam.vo.ExamVO;

import java.util.List;

/**
 * @Author: LiamLMK
 * @CreateTime: 2025-04-26
 * @Description:
 * @Version: 1.0
 */

public interface IExamService{

    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    TableDataInfo redisList(ExamQueryDTO examQueryDTO);

    TableDataInfo rankList(ExamRankDTO examRankDTO);

    String getFirstQuestion(Long examId);

    String preQuestion(Long questionId, Long id);

    String nextQuestion(Long questionId, Long id);
}
